package com.example.moudlec.service.impl;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.example.moudlec.entity.Exeorder;
import com.example.moudlec.entity.SelOrderId;
import com.example.moudlec.mapper.ExeorderMapper;
import com.example.moudlec.service.ExeorderService;
import com.mycloud.api.pojo.Quality_control;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;


@SuppressWarnings("all")
@Service
public class ExeorderServiceImpl implements ExeorderService {

    @Autowired
    ExeorderMapper exeorderMapper;


    @Override
    public IPage<Exeorder> selList(Long pageNum, Long pageSize) {
        Page<Exeorder> page = new Page<>(pageNum, pageSize, true);
        return exeorderMapper.selList(page);
    }

    @Override
    public List<Integer> selproId(Long fileId) {
        return exeorderMapper.selproId(fileId);
    }

    @Override
    public List<SelOrderId> selId(Long fileId) {
        return exeorderMapper.selId(fileId);
    }


}
